package dk.flashnotes.fff.helpers.dummyMenu {	import dk.flashnotes.fff.helpers.EHelpersLayout;	
	import dk.flashnotes.fff.tree.TreeControl;	import dk.flashnotes.fff.tree.TreeNode;		import flash.display.Sprite;	import flash.events.Event;	import flash.events.MouseEvent;	import flash.geom.Point;	import flash.net.SharedObject;
	
	import dk.flashnotes.fff.helpers.HelperBaseUI;	

	/**	 * @author josef	 */	public class DummyMenu extends HelperBaseUI {		private var _SOStoreID : String="soDummyMenuKey";				private var _oTreeControl : TreeControl;		private var nCountY : Number = 0;			public function DummyMenu(oTreeControl : TreeControl) {						_oTreeControl = oTreeControl;						super(_SOStoreID);			buildNode(_oTreeControl.oRootNode, 0);						updateBack();		}		private function buildNode(oTreeNode : TreeNode, uintLevel : uint) : void {						addNodeDo(oTreeNode, uintLevel);			uintLevel++;						for each (var oMN : TreeNode in oTreeNode.a_oSubTreeNodes) {				buildNode(oMN, uintLevel);			}		}				private function addNodeDo(oTreeNode : TreeNode, uintLevel : uint) : void {						var doNode:MenuNodeDO=new MenuNodeDO(oTreeNode, uintLevel);			addChild(doNode);						doNode.y=nCountY;			doNode.x = uintLevel*10;						nCountY += EHelpersLayout.nLINE_SPACE;		}	}}